package com.project.bookstore.user.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户个人数据")
public class UserPersonalDataVO {
    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("用户头像url")
    private String avatar;

    @ApiModelProperty("用户昵称")
    private String nick;

    @ApiModelProperty("用户QQ")
    private Long qq;

    @ApiModelProperty("用户性别")
    private String gender;

    @ApiModelProperty("用户生日")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

    @ApiModelProperty("用户地址")
    private String address;

    @ApiModelProperty("用户个性签名")
    private String signature;

    @ApiModelProperty("用户个人简介")
    private String selfInfo;

    @ApiModelProperty("用户昵称修改次数")
    private String nickChange;
}
